namespace VIT.BusinessLogicLayer
{
    using System;
    using System.Diagnostics;

    /// <summary>
    /// The Provider exception.
    /// </summary>
    [DebuggerNonUserCode]
    [Serializable]
    public class BusinessLogicLayerException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="BusinessLogicLayerException"/> class.
        /// </summary>
        [Obsolete("This constructor need for generic usages, use constructor with parameters instead.", true)]
        public BusinessLogicLayerException()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="BusinessLogicLayerException"/> class.
        /// </summary>
        /// <param name="message">
        /// The message.
        /// </param>
        public BusinessLogicLayerException(string message)
            : base(message)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="BusinessLogicLayerException"/> class.
        /// </summary>
        /// <param name="message">
        /// The message.
        /// </param>
        /// <param name="ex">
        /// The ex.
        /// </param>
        public BusinessLogicLayerException(string message, Exception ex)
            : base(message, ex)
        {
        }
    }
}